export interface ModelList {
  appId?: string;
  appType?: string;
  appName?: string;
  tenantId?: number | undefined;
  status?: number | undefined;
  pageNo: number;
  pageSize: number;
  [key: string]: any;
}

export interface ModelAdd {
  id?: number | undefined;
  appId: string;
  appName: string;
  pathIndex: string;
  secret: string;

  appKey?: string;
  appGhId?: string;
  isWxMain?: boolean;
  wxMainAppId?: string;
  offerId?: string;
  callbackToken?: string;
  callbackKey?: string;
  dyPublicKey?: string;
  dyAppPublicKey?: string;
  [key: string]: any;
}

export interface ModelOption {
  id?: number | undefined;
  appId?: string;
  appName?: string;
  appType?: string;
  isWxMain?: boolean;
  agentReferenced?: boolean;
}

export interface ModelStatus {
  appId: number | undefined;
  status: number;
}

interface objModel {
  tenantId?: number | undefined;
  tenantName?: string;
}
export interface ModelResult {
  id: number;
  appId: string;
  appName: string;
  appType: string;
  status: number | undefined;
  owningTenant?: objModel | undefined;
  pathIndex?: string;
  [keys: string]: any;
}

export interface ModelResultOptions {
  id: number;
  appId: string;
  appName: string;
  appType: string;
  status: number | undefined;
}
